.carinfo-nohavecar-2 {
  background: #fff;
  padding: 0 24px;
}

.carinfo {
  letter-spacing: 2px;

  &-content-2 {
    height: 130px;
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  &-nohavecar-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 130px;
    width: 100%;

    &.hide {
      display: none;
    }

    .carinfo-context {
      padding-bottom: 7px;
    }
  }

  &-icon {
    margin-right: 23px;
  }

  &-context {
    height: 60px;
    flex: 1;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    overflow: hidden;
    font-size: 26px;
    color: #333;
    margin-right: 9px;

    .text {
      width: 100%;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }
  }

  &-addbtn {
    width: 180px;
    height: 60px;
    background: #fff;
    border-radius: 10px;
    font-size: 28px;
    font-family: PingFang SC;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(18, 179, 255, 1);
    border: 2px solid rgba(18, 179, 255, 1);
    box-sizing: border-box;
  }

  &-havecar-2 {
    display: flex;
    justify-content: space-between;
    width: 100%;

    &.hide {
      display: none;
    }
  }

  &-logo {
    width: 60px;
    height: 60px;
    display: block;
    margin-right: 10px;
    flex-shrink: 0;
  }

  &-license {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;

    &-bg {
      display: flex;
      align-items: center;
    }

    &-blue {
      width: 140px;
      height: auto;
      display: block;
    }

    &-green {
      width: 154px;
      height: auto;
      display: block;
    }

    &-name {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 24px;
      white-space: nowrap;
    }
  }
}

.carinfo-lf {
  flex: 0 1 auto;
  overflow: hidden;

  &-top {
    display: flex;
  }

  .carinfo-context {
    width: 100%;
    overflow: hidden;
  }
}

.carinfo-carimg-self {
  width: 180px;
  height: 120px;
  display: block;
  flex-shrink: 0;
}

.mileage {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-family: PingFang SC-Medium, PingFang SC;
  font-weight: 500;
  color: #333333;

  &-icon {
    width: 44px;
    height: 44px;
    background: url('https://static3.jekunauto.com/img/assistant/ico_2.png');
    background-size: 100% 100%;
    margin-right: 14px;
  }

  &-eidt {
    width: 44px;
    height: 44px;
    background: url('https://static3.jekunauto.com/img/assistant/ico_8.png');
    background-size: 100% 100%;
    margin-left: 6px;
  }
}

.car-box {
  background: #FFFFFF;
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding: 24px 40px 24px 20px;
  font-size: 24px;
  justify-content: space-between;

  .car-info {
    display: flex;
    align-items: center;
    width: 45%;

    .car-img {
      width: 80px;
      height: 80px;
      margin-right: 12px;
      flex-shrink: 0;
      background: #f5f5f5;
    }

    .car-right {
      .car-license {
        font-size: 26px;
        color: #333;
        font-weight: bold;
      }

      .car-name {
        font-size: 22px;
        color: #333;
        margin-top: 8px;
      }

      .car-type {
        color: #FFF6F6;
        font-size: 20px;
        border-radius: 12px;
        line-height: 34px;
        text-align: center;
        margin-top: 4px;
        letter-spacing: 1px;

        &.car-type1 {
          background: #12B3FF;
          width: 76px;
        }

        &.car-type2 {
          background: #19CF84;
          width: 76px;
        }

        &.car-type3 {
          background: linear-gradient(to right, #12B3FF 30%, #19CF84 30%);
          width: 100px;
        }
      }
    }
  }

  .car-mileage {
    width: 20%;
    font-size: 24px;
    color: #333;
    text-align: right;

    .mileage-num {
      font-size: 22px;
      color: #12B3FF;
      margin-top: 8px;

      &.disabled {
        color: #333;
      }
    }
  }

  .maintain-data {
    width: 230px;

    &-label {
      font-size: 24px;
      color: #333;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;

      .question-icon {
        width: 28px;
        height: 28px;
        background: url('https://static3.jekunauto.com/img/assistant/question.png');
        background-size: 100% 100%;
        margin-left: 6px;
      }

      .status-box {
        width: 76px;
        height: 34px;
        background: #F5F5F5;
        border-radius: 12px;
        font-size: 20px;
        font-family: PingFang SC, PingFang SC;
        font-weight: 500;
        color: #999;
        position: absolute;
        right: -25px;
        top: -10px;
        text-align: center;
        line-height: 34px;
        transform: scale(0.9);

        &.color1 {
          color: #E6A23C;
          background: #FEFCEB;
        }

        &.color2 {
          color: #E0251A;
          background: #FBDFDD
        }
      }
    }

    &-date {
      font-size: 22px;
      color: #333;
      margin-top: 8px;
      text-align: center;
    }

    &-mileage {
      font-size: 22px;
      color: #333;
      text-align: center;
    }
  }

  .user {
    text-align: right;
    font-size: 24px;
    color: #333;

    &-mobile {
      font-size: 22px;
      margin-top: 8px;
    }
  }
}
